package com.woniu.p2p.service;

import com.github.pagehelper.PageInfo;
import com.woniu.p2p.entity.UserZong;
import com.woniu.p2p.vo.MymoneyVo;

import java.util.Date;

public interface MymoneyService {

    //查询用户的总资金记录
    MymoneyVo findAllMyMoney(Integer id);
    //查询所有历史资金记录
    PageInfo<UserZong> findAllmymoneyHistory(Integer id,Integer start,Integer num);
    //根据条件查询资金历史的记录
    PageInfo<UserZong> findAllMyMoneyByKeywordAndTime(Integer id, Integer start, Integer num, String keyword, Date predate,Date nextDate);

    UserZong selectbyid(Integer zongId);
}
